﻿using MediatR;
using System.ComponentModel.DataAnnotations;

namespace System.WXT.WebAPI.Application.Command.WorkerCommand
{
    public class WorkerUpdateCommand:IRequest<int>
    {
        /// <summary>
        /// 工人列表ID
        /// </summary>
        public int workerId { get; set; }
        /// <summary>
        /// 工人编号
        /// </summary>
        public string? workerNumbering { get; set; }
        /// <summary>
        /// 工人姓名
        /// </summary>
        public string? workerName { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string? workerPhone { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? workerSex { get; set; }
        /// <summary>
        /// 班组
        /// </summary>
        public string? workerTeam { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string? workerDepartment { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? workerState { get; set; }
    }
}
